import re
import ast
import os
from setuptools import setup

with open('pake/__init__.py') as f:
    ver = re.search('__version__\s*=\s*(.*)', f.read().decode('utf8')).group(1)
    version = str(ast.literal_eval(ver))


setup(
    name='pake',
    version=version,
    packages=['pake',],
    entry_points={
        'console_scripts': [
            'pake = pake.main:cli',
        ],
    },
    install_requires=['click', 'jinja2'],
)
